package com.lh.web.dao.admin;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lh.common.entity.admin.ActivityShopDetails;
import com.lh.common.entity.admin.ActivityShopOne;
import com.lh.common.entity.admin.BannerShop;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface ActivityShopOneMapper extends BaseMapper<ActivityShopOne> {

    List<ActivityShopOne> queryActivityShopOneList(Map<String, Object> param);

    List<BannerShop> getActivityShopList(Map<String, Object> param);

    int insertActivityShopOne(ActivityShopOne activityShopOne);

    int updateActivityShopOne(ActivityShopOne activityShopOne);

    ActivityShopDetails queryShopOneDetails(Map<String, Object> params);

    ActivityShopOne queryShopOne(Long aid);

    int updateActivityShopOneStatus(Map<String, Object> params);

    int queryCountShopOne();
}
